# -*- coding: utf-8 -*-
"""
Created on 03 08 下午4:55 2022 
@Author : HHQUAN
@Email : 1075960398@qq.com

"""

import numpy as np
import matplotlib.pyplot as plt

def func1(x):
    print("enter func1", x)
    def func2(y):
        print("enter func2", y)
        return x+y
    return func2

function1 = func1(2)
# function2 = func1(5)
result = function1(6)
print(result)





